package com.example.gw_back_end.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.example.gw_back_end.domain.PageParam;
import com.example.gw_back_end.domain.PageResult;
import com.example.gw_back_end.domain.entities.PostComment;

public interface PostCommentService extends IService<PostComment> {

    boolean addPostComment(PostComment postComment);

    boolean deletePostComment(int id);

    PostComment getPostCommentById(int id);

    boolean updatePostComment(PostComment postComment);

    PageResult<PostComment> getPostCommentByPage(PageParam pageParam,Integer postId);
}
